/*
 * @Author: yuelei 
 * @Date: 2018-05-10 21:40:14 
 * @Last Modified by: Yuelei
 * @Last Modified time: 2018-05-13 15:37:02
 */
import request from '../utils/request'

export async function query() {
    return request('/api/product/productlist')
}
export async function add(params) {
    return request('/api/product/productlist',{method:'POST',body:params})
}
export async function remove(pro_obj) {
    return request('/api/product/productdelete',{method:'POST',body:pro_obj})
}